libxl: Drop internal DEVICE_TAP backend type
authorIan Campbell <ian.campbell@citrix.com>
Fri, 8 Apr 2011 15:40:58 +0000 (16:40 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 Apr 2011 15:40:58 +0000 (16:40 +0100)
commitbe1806baf415c623403e4599fa197646b97a5f3d
treedd1f9e99d2455eceb2ab8000006ed90edaa2d1d0
parent4f704ac6001cbce1505fef3d53d4f60979292698
libxl: Drop internal DEVICE_TAP backend type

There is no such thing with blktap2, the backend in that case is PHY.

libxl_device_disk_del was just plain wrong in this regard, fix it to
select the appropriate backend_kind.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_device.c
tools/libxl/libxl_internal.h